var points = new Array();
function getInfo(categorie) {
	$.ajax({
							url: "../php/dispatcher.php",
							data: {action: 'getPoints', categorie: categorie},
							type: 'post',
							async: false,
						    success:function(msg){
							points = JSON.parse(msg);
							},
							
							
				});
				
				console.log(points);
					var line1 = new Array();

					for(var j=0; j<points.length;  j++){
						line1.push(new google.maps.LatLng(points[j][0],points[j][1]));
					}
}
			
		